package me.zhengjie.modules.domain.enterprise;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import me.zhengjie.modules.domain.BaseClass;

import javax.persistence.Id;
import java.util.List;

@Data
@TableName("enterprise_industry")
public class EnterpriseIndustry extends BaseClass {

    @Id
    private Long id;

    @ApiModelProperty(value = "国民经济行业分类")
    @TableField(value = "category")
    private String category;

    @ApiModelProperty(value = "父级节点")
    @TableField(value = "parent_id")
    private Long parentId;

    private List<EnterpriseIndustry> menu1;

    private EnterpriseIndustry menu2;

    @ApiModelProperty(value = "批次号")
    @TableField(value = "batch_id")
    private Long batchId;
}
